/**
 * Copyright (c) 2000-2021 向心力 All rights reserved.
 * <p>
 * https://http://www.centfor.com/
 * <p>
 * 版权所有，侵权必究！
 */

package com.comleader.operator.pojo.entity;

import java.io.Serializable;

import javax.validation.constraints.NotBlank;

import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.KeyType;
import com.mybatisflex.annotation.Table;

import lombok.Data;

/**
 * @Description 用户表
 * @Auhtor 连新景
 * @Date 2024/07/15 11:44
 */
@Data
@Table("user")
public class UserEntity implements Serializable {

    @Id(keyType = KeyType.Auto)
    private Long id;
    /**
     * 姓名
     */
    private String name;
    /**
     * 用户名
     */
    @NotBlank(message = "用户名不能为空")
    private String username;
    /**
     * 密码
     */
    @NotBlank(message = "密码不能为空")
    private String password;
    /**
     * 盐
     */
    private String salt;
    private static final long serialVersionUID = 1L;

}
